﻿@model Infrastructure.Crosscutting.Authorize.Dto.LoginDto
<div id="login-form-wrap">
    @using (Html.BeginForm())
    {
        <p>
            @Html.LabelFor(model => model.UserName)
            @Html.EditorFor(model => model.UserName)
            @Html.ValidationMessageFor(model => model.UserName)
        </p>
        <p>
            @Html.LabelFor(model => model.Password)
            @Html.EditorFor(model => model.Password)
            @Html.ValidationMessageFor(model => model.Password)
        </p>
        <input class="button float-left" tabindex="3" value="登 陆" type="submit" />
        @Html.ValidationSummary(true)
    }
</div>
<script type="text/javascript">
    $(function () {
        $('#UserName').focus();
    });
</script>
